It is permissible to use this substance for medical purposes. It is prohibited to use if it causes prohibited harm, such as addiction to the level that one would be lower himself and humiliate himself in order to obtain it, and other such side effects that are usually associated with using such substances.